package com.titlecertification.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author MJH
 * @date 2021-10-25
 * @Description
 */
@Controller
public class IndexController {


    @RequestMapping(value = {"/","/login"})
    public String toLogin(){


        return "login";
    }

    @RequestMapping(value = "/index")
    public String toIndex(){

        return "index";
    }

    @RequestMapping(value = "/declare")
    public String toDeclare(){

        return "declare";
    }
}
